class LoginInfoModel {
  late String username;
  late String password;
  late bool rememberPassword;
  LoginInfoModel(
      {this.username = '', this.password = '', this.rememberPassword = false});

  LoginInfoModel.fromJson(Map<String, dynamic> json) {
    username = json['username'];
    password = json['password'];
    rememberPassword = json['rememberPassword'];
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['username'] = this.username;
    data['password'] = this.password;
    data['rememberPassword'] = this.rememberPassword;
    return data;
  }
}
